package thinkingJava.chapter12;

public class CleanUp {
	public static void main(String[] args) {
		try {
			InputFile in = new InputFile("CleanUp.java");
			try {
				String s;
				int i = 0;
				while ((s = in.getLine()) != null) {
					;
				}
			} catch (Exception e) {
				System.out.println("inputfile getLine failed");
			} finally {
				in.dispose();
			}
		} catch (Exception e) {
			System.out.println("constructor init failed");
		}
	}
}
